home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BMUG TV-ROM Too
/
TV-ROM Too™.iso
/
MooV Too Library
/
MooV Too Library.rsrc
/
XFCN_30025_DiskSpaceAvail.txt
< prev
next >
Wrap
Text File
|
1993-07-23
|
41KB
|
781 lines
start:
00000000 600E bra +0x10 /* 00000010 */
00000002 0000 5846 ori.b D0, 0x46 /* 'F' */
00000006 434E chk.w D1, A6
00000008 7549 moveq.l D2, 0x49
0000000A 0000 0000 ori.b D0, 0x0
0000000E 0000 41FA ori.b D0, 0xFA
// begin alternate branch 00000010-00000014
label00000010:
00000010 41FA FFEE lea.l A0, [PC - 0x12 /* 00000000, value 0x600E0000 */]
// end alternate branch 00000010-00000014
label00000010: // (misaligned)
00000012 FFEE .invalid <<F/7/7>>
00000014 4E71 nop
00000016 4E71 nop
00000018 6000 01BC bra +0x1BE /* 000001D6 */
0000001C 4EFA 001E jmp [PC + 0x1E /* 0000003C */]
00000020 4EFA 002E jmp [PC + 0x2E /* 00000050 */]
00000024 4EFA 003E jmp [PC + 0x3E /* 00000064 */]
fn00000028:
00000028 4EFA 0056 jmp [PC + 0x56 /* 00000080 */]
fn0000002C:
0000002C 4EFA 0088 jmp [PC + 0x88 /* 000000B6 */]
00000030 4EFA 00A4 jmp [PC + 0xA4 /* 000000D6 */]
00000034 4EFA 00C2 jmp [PC + 0xC2 /* 000000F8 */]
00000038 4EFA 00DE jmp [PC + 0xDE /* 00000118 */]
label0000003C:
0000003C 205F movea.l A0, [A7]+
0000003E 3218 move.w D1, [A0]+
label00000040:
00000040 3418 move.w D2, [A0]+
00000042 B058 cmp.w D0, [A0]+
00000044 57C9 FFFA dbeq D1, -0x8 /* 00000040 */
00000048 4A42 tst.w D2
label0000004A:
0000004A 67FE beq -0x0 /* 0000004A */
0000004C 4EF0 20FC jmp [A0 + D2.w - 0x4]
label00000050:
00000050 205F movea.l A0, [A7]+
00000052 3218 move.w D1, [A0]+
label00000054:
00000054 3418 move.w D2, [A0]+
00000056 B098 cmp.l D0, [A0]+
00000058 57C9 FFFA dbeq D1, -0x8 /* 00000054 */
0000005C 4A42 tst.w D2
label0000005E:
0000005E 67FE beq -0x0 /* 0000005E */
00000060 4EF0 20FA jmp [A0 + D2.w - 0x6]
label00000064:
00000064 205F movea.l A0, [A7]+
00000066 3218 move.w D1, [A0]+
00000068 3418 move.w D2, [A0]+
0000006A B042 cmp.w D0, D2
0000006C 6E0A bgt +0xC /* 00000078 */
0000006E 9041 sub.w D0, D1
00000070 6D06 blt +0x8 /* 00000078 */
00000072 D040 add.w D0, D0
00000074 41F0 0002 lea.l A0, [A0 + D0.w + 0x2]
label00000078:
00000078 3010 move.w D0, [A0]
label0000007A:
0000007A 67FE beq -0x0 /* 0000007A */
0000007C 4EF0 0000 jmp [A0 + D0.w]
label00000080:
00000080 202F 0004 move.l D0, [A7 + 0x4]
00000084 2F41 0004 move.l [A7 + 0x4], D1
00000088 222F 0008 move.l D1, [A7 + 0x8]
0000008C 2F5F 0004 move.l [A7 + 0x4], [A7]+
00000090 48E7 3C00 movem.l -[A7], D2,D3,D4,D5
00000094 2400 move.l D2, D0
00000096 2601 move.l D3, D1
00000098 4842 swap.w D2
0000009A C4C3 mulu.w D2, D3
0000009C 2800 move.l D4, D0
0000009E 2A01 move.l D5, D1
000000A0 4845 swap.w D5
000000A2 C8C5 mulu.w D4, D5
000000A4 D444 add.w D2, D4
000000A6 4842 swap.w D2
000000A8 4242 clr.w D2
000000AA C0C1 mulu.w D0, D1
000000AC D082 add.l D0, D2
000000AE 4CDF 003C movem.l D2,D3,D4,D5, [A7]+
000000B2 221F move.l D1, [A7]+
000000B4 4E75 rts
label000000B6:
000000B6 202F 0004 move.l D0, [A7 + 0x4]
000000BA 2F41 0004 move.l [A7 + 0x4], D1
000000BE 222F 0008 move.l D1, [A7 + 0x8]
000000C2 2F5F 0004 move.l [A7 + 0x4], [A7]+
000000C6 48E7 3100 movem.l -[A7], D2,D3,D7
000000CA 4EBA 009C jsr [PC + 0x9C /* 00000168 */]
000000CE 4CDF 008C movem.l D2,D3,D7, [A7]+
000000D2 221F move.l D1, [A7]+
000000D4 4E75 rts
label000000D6:
000000D6 202F 0004 move.l D0, [A7 + 0x4]
000000DA 2F41 0004 move.l [A7 + 0x4], D1
000000DE 222F 0008 move.l D1, [A7 + 0x8]
000000E2 2F5F 0004 move.l [A7 + 0x4], [A7]+
000000E6 48E7 3100 movem.l -[A7], D2,D3,D7
000000EA 4EBA 007C jsr [PC + 0x7C /* 00000168 */]
000000EE 2001 move.l D0, D1
000000F0 4CDF 008C movem.l D2,D3,D7, [A7]+
000000F4 221F move.l D1, [A7]+
000000F6 4E75 rts
label000000F8:
000000F8 202F 0004 move.l D0, [A7 + 0x4]
000000FC 2F41 0004 move.l [A7 + 0x4], D1
00000100 222F 0008 move.l D1, [A7 + 0x8]
00000104 2F5F 0004 move.l [A7 + 0x4], [A7]+
00000108 48E7 3100 movem.l -[A7], D2,D3,D7
0000010C 4EBA 002C jsr [PC + 0x2C /* 0000013A */]
00000110 4CDF 008C movem.l D2,D3,D7, [A7]+
00000114 221F move.l D1, [A7]+
00000116 4E75 rts
label00000118:
00000118 202F 0004 move.l D0, [A7 + 0x4]
0000011C 2F41 0004 move.l [A7 + 0x4], D1
00000120 222F 0008 move.l D1, [A7 + 0x8]
00000124 2F5F 0004 move.l [A7 + 0x4], [A7]+
00000128 48E7 3100 movem.l -[A7], D2,D3,D7
0000012C 4EBA 000C jsr [PC + 0xC /* 0000013A */]
00000130 2001 move.l D0, D1
00000132 4CDF 008C movem.l D2,D3,D7, [A7]+
00000136 221F move.l D1, [A7]+
00000138 4E75 rts
fn0000013A:
0000013A 4A80 tst.l D0
0000013C 6A1C bpl +0x1E /* 0000015A */
0000013E 4A81 tst.l D1
00000140 6A0C bpl +0xE /* 0000014E */
00000142 4480 neg.l D0
00000144 4481 neg.l D1
00000146 4EBA 0020 jsr [PC + 0x20 /* 00000168 */]
0000014A 4481 neg.l D1
0000014C 4E75 rts
label0000014E:
0000014E 4480 neg.l D0
00000150 4EBA 0016 jsr [PC + 0x16 /* 00000168 */]
00000154 4480 neg.l D0
00000156 4481 neg.l D1
00000158 4E75 rts
label0000015A:
0000015A 4A81 tst.l D1
0000015C 6A0A bpl +0xC /* 00000168 */
0000015E 4481 neg.l D1
00000160 4EBA 0006 jsr [PC + 0x6 /* 00000168 */]
00000164 4480 neg.l D0
00000166 4E75 rts
fn00000168:
00000168 2E3C 0000 FFFF move.l D7, 0xFFFF
0000016E B280 cmp.l D1, D0
00000170 6306 bls +0x8 /* 00000178 */
00000172 2200 move.l D1, D0
00000174 7000 moveq.l D0, 0x00
00000176 4E75 rts
label00000178:
00000178 B087 cmp.l D0, D7
0000017A 620C bhi +0xE /* 00000188 */
0000017C 80C1 divu.w D0, D1
0000017E 4840 swap.w D0
00000180 3200 move.w D1, D0
00000182 4240 clr.w D0
00000184 4840 swap.w D0
00000186 4E75 rts
label00000188:
00000188 B287 cmp.l D1, D7
0000018A 621A bhi +0x1C /* 000001A6 */
0000018C 2E00 move.l D7, D0
0000018E 4240 clr.w D0
00000190 4840 swap.w D0
00000192 80C1 divu.w D0, D1
00000194 4840 swap.w D0
00000196 4847 swap.w D7
00000198 3E00 move.w D7, D0
0000019A 4847 swap.w D7
0000019C 8EC1 divu.w D7, D1
0000019E 3007 move.w D0, D7
000001A0 4847 swap.w D7
000001A2 3207 move.w D1, D7
000001A4 4E75 rts
label000001A6:
000001A6 2400 move.l D2, D0
000001A8 2601 move.l D3, D1
label000001AA:
000001AA E288 lsr D0, 1
000001AC E289 lsr D1, 1
000001AE B287 cmp.l D1, D7
000001B0 62F8 bhi -0x6 /* 000001AA */
000001B2 80C1 divu.w D0, D1
000001B4 C087 and.l D0, D7
label000001B6:
000001B6 3203 move.w D1, D3
000001B8 C2C0 mulu.w D1, D0
000001BA 2E03 move.l D7, D3
000001BC 4847 swap.w D7
000001BE CEC0 mulu.w D7, D0
000001C0 4847 swap.w D7
000001C2 D287 add.l D1, D7
000001C4 6508 bcs +0xA /* 000001CE */
000001C6 9282 sub.l D1, D2
000001C8 6204 bhi +0x6 /* 000001CE */
000001CA 4481 neg.l D1
000001CC 4E75 rts
label000001CE:
000001CE 5340 subq.w D0, 1
000001D0 60E4 bra -0x1A /* 000001B6 */
000001D2 0050 0001 ori.w [A0], 0x1
label000001D6:
000001D6 4E56 FF6E link A6, -0x0092
000001DA 206E 0008 movea.l A0, [A6 + 0x8]
000001DE 2D68 0002 FFFC move.l [A6 - 0x4], [A0 + 0x2]
000001E4 487A 04E2 pea.l [PC + 0x4E2 /* 000006C8, value 0x21004879 '!\0Hy', cstring "!" */]
000001E8 206E FFFC movea.l A0, [A6 - 0x4]
000001EC 2F10 move.l -[A7], [A0]
000001EE 4EBA 03D0 jsr [PC + 0x3D0 /* 000005C0 */]
000001F2 508F addq.l A7, 8
000001F4 4A40 tst.w D0
000001F6 6616 bne +0x18 /* 0000020E */
000001F8 487A 04D0 pea.l [PC + 0x4D0 /* 000006CA, value 0x48797065 'Hype' */]
000001FC 4EBA 0148 jsr [PC + 0x148 /* 00000346 */]
00000200 588F addq.l A7, 4
00000202 206E 0008 movea.l A0, [A6 + 0x8]
00000206 2140 0042 move.l [A0 + 0x42], D0
0000020A 6000 0128 bra +0x12A /* 00000334 */
label0000020E:
0000020E 487A 04F0 pea.l [PC + 0x4F0 /* 00000700, value 0x3F006B72 '?\0kr', cstring "?" */]
00000212 206E FFFC movea.l A0, [A6 - 0x4]
00000216 2F10 move.l -[A7], [A0]
00000218 4EBA 03A6 jsr [PC + 0x3A6 /* 000005C0 */]
0000021C 508F addq.l A7, 8
0000021E 4A40 tst.w D0
00000220 6616 bne +0x18 /* 00000238 */
00000222 487A 04DE pea.l [PC + 0x4DE /* 00000702, value 0x6B727344 'krsD', cstring "krsDiskSpace (volume)" */]
00000226 4EBA 011E jsr [PC + 0x11E /* 00000346 */]
0000022A 588F addq.l A7, 4
0000022C 206E 0008 movea.l A0, [A6 + 0x8]
00000230 2140 0042 move.l [A0 + 0x42], D0
00000234 6000 00FE bra +0x100 /* 00000334 */
label00000238:
00000238 206E 0008 movea.l A0, [A6 + 0x8]
0000023C 0C50 0001 cmpi.w [A0], 0x1
00000240 6716 beq +0x18 /* 00000258 */
00000242 487A 04D4 pea.l [PC + 0x4D4 /* 00000718, value 0x2D310D49 '-1\rI', cstring "-1\Incorrect number of paramet"... */]
00000246 4EBA 00FE jsr [PC + 0xFE /* 00000346 */]
0000024A 588F addq.l A7, 4
0000024C 206E 0008 movea.l A0, [A6 + 0x8]
00000250 2140 0042 move.l [A0 + 0x42], D0
00000254 6000 00DE bra +0xE0 /* 00000334 */
label00000258:
00000258 206E FFFC movea.l A0, [A6 - 0x4]
0000025C 2F10 move.l -[A7], [A0]
0000025E 4EBA 045A jsr [PC + 0x45A /* 000006BA */]
00000262 588F addq.l A7, 4
00000264 0C80 0000 003C cmpi.l D0, 0x3C /* '<' */
0000026A 6316 bls +0x18 /* 00000282 */
0000026C 4878 FFDD push.l 0xFFDD
00000270 4EBA 0112 jsr [PC + 0x112 /* 00000384 */]
00000274 588F addq.l A7, 4
00000276 206E 0008 movea.l A0, [A6 + 0x8]
0000027A 2140 0042 move.l [A0 + 0x42], D0
0000027E 6000 00B4 bra +0xB6 /* 00000334 */
label00000282:
00000282 206E FFFC movea.l A0, [A6 - 0x4]
00000286 2F10 move.l -[A7], [A0]
00000288 486E FF72 pea.l [A6 - 0x8E]
0000028C 4EBA 030C jsr [PC + 0x30C /* 0000059A */]
00000290 508F addq.l A7, 8
00000292 486E FF72 pea.l [A6 - 0x8E]
00000296 4EBA 01D2 jsr [PC + 0x1D2 /* 0000046A */]
0000029A 588F addq.l A7, 4
0000029C 426E FFF4 clr.w [A6 - 0xC]
000002A0 426E FFF2 clr.w [A6 - 0xE]
000002A4 4267 clr.w -[A7]
000002A6 486E FFB2 pea.l [A6 - 0x4E]
000002AA 486E FFF2 pea.l [A6 - 0xE]
000002AE 4EBA 0174 jsr [PC + 0x174 /* 00000424 */]
000002B2 301F move.w D0, [A7]+
000002B4 4A40 tst.w D0
000002B6 6632 bne +0x34 /* 000002EA */
000002B8 4267 clr.w -[A7]
000002BA 486E FF72 pea.l [A6 - 0x8E]
000002BE 3F2E FFF4 move.w -[A7], [A6 - 0xC]
000002C2 4EBA 0184 jsr [PC + 0x184 /* 00000448 */]
000002C6 301F move.w D0, [A7]+
000002C8 4A40 tst.w D0
000002CA 661E bne +0x20 /* 000002EA */
000002CC 4267 clr.w -[A7]
000002CE 4267 clr.w -[A7]
000002D0 486E FF72 pea.l [A6 - 0x8E]
000002D4 486E FFF4 pea.l [A6 - 0xC]
000002D8 486E FF6E pea.l [A6 - 0x92]
000002DC 4EBA 0100 jsr [PC + 0x100 /* 000003DE */]
000002E0 301F move.w D0, [A7]+
000002E2 4A40 tst.w D0
000002E4 6604 bne +0x6 /* 000002EA */
000002E6 7000 moveq.l D0, 0x00
000002E8 6002 bra +0x4 /* 000002EC */
label000002EA:
000002EA 7001 moveq.l D0, 0x01
label000002EC:
000002EC 3D40 FFF6 move.w [A6 - 0xA], D0
000002F0 4A6E FFF2 tst.w [A6 - 0xE]
000002F4 6710 beq +0x12 /* 00000306 */
000002F6 4267 clr.w -[A7]
000002F8 486E FFB2 pea.l [A6 - 0x4E]
000002FC 3F2E FFF2 move.w -[A7], [A6 - 0xE]
00000300 4EBA 0146 jsr [PC + 0x146 /* 00000448 */]
00000304 301F move.w D0, [A7]+
label00000306:
00000306 4A6E FFF6 tst.w [A6 - 0xA]
0000030A 6716 beq +0x18 /* 00000322 */
0000030C 306E FFF6 movea.w A0, [A6 - 0xA]
00000310 2F08 move.l -[A7], A0
00000312 4EBA 0070 jsr [PC + 0x70 /* 00000384 */]
00000316 588F addq.l A7, 4
00000318 206E 0008 movea.l A0, [A6 + 0x8]
0000031C 2140 0042 move.l [A0 + 0x42], D0
00000320 6012 bra +0x14 /* 00000334 */
label00000322:
00000322 2F2E FF6E move.l -[A7], [A6 - 0x92]
00000326 4EBA 005C jsr [PC + 0x5C /* 00000384 */]
0000032A 588F addq.l A7, 4
0000032C 206E 0008 movea.l A0, [A6 + 0x8]
00000330 2140 0042 move.l [A0 + 0x42], D0
label00000334:
00000334 4E5E unlink A6
00000336 205F movea.l A0, [A7]+
00000338 4FEF 0004 lea.l A7, [A7 + 0x4]
0000033C 4ED0 jmp [A0]
0000033E 4D41 chk.w D6, D1
00000340 494E chk.w D4, A6
00000342 2020 move.l D0, -[A0]
00000344 2020 move.l D0, -[A0]
fn00000346:
00000346 4E56 FFFC link A6, -0x0004
0000034A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000034E 4EBA 036A jsr [PC + 0x36A /* 000006BA */]
00000352 588F addq.l A7, 4
00000354 42A7 clr.l -[A7]
00000356 5280 addq.l D0, 1
00000358 2F00 move.l -[A7], D0
0000035A 4EBA 0076 jsr [PC + 0x76 /* 000003D2 */]
0000035E 205F movea.l A0, [A7]+
00000360 2D48 FFFC move.l [A6 - 0x4], A0
00000364 206E FFFC movea.l A0, [A6 - 0x4]
00000368 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000036C 2F10 move.l -[A7], [A0]
0000036E 4EBA 022A jsr [PC + 0x22A /* 0000059A */]
00000372 508F addq.l A7, 8
00000374 202E FFFC move.l D0, [A6 - 0x4]
00000378 4E5E unlink A6
0000037A 4E75 rts
0000037C 4552 chk.w D2, [A2]
0000037E 524D addq.w A5, 1
00000380 5347 subq.w D7, 1
00000382 2020 move.l D0, -[A0]
fn00000384:
00000384 4E56 FFFC link A6, -0x0004
00000388 42A7 clr.l -[A7]
0000038A 4878 000A push.l 0xA /* '\n' */
0000038E 4EBA 0042 jsr [PC + 0x42 /* 000003D2 */]
00000392 205F movea.l A0, [A7]+
00000394 2D48 FFFC move.l [A6 - 0x4], A0
00000398 4AAE FFFC tst.l [A6 - 0x4]
0000039C 6716 beq +0x18 /* 000003B4 */
0000039E 3F3C 000A move.w -[A7], 0xA /* '\n' */
000003A2 2F2E 0008 move.l -[A7], [A6 + 0x8]
000003A6 206E FFFC movea.l A0, [A6 - 0x4]
000003AA 2F10 move.l -[A7], [A0]
000003AC 4EBA 01AC jsr [PC + 0x1AC /* 0000055A */]
000003B0 4FEF 000A lea.l A7, [A7 + 0xA]
label000003B4:
000003B4 202E FFFC move.l D0, [A6 - 0x4]
000003B8 4E5E unlink A6
000003BA 4E75 rts
000003BC 5245 addq.w D5, 1
000003BE 5455 addq.w [A5], 2
000003C0 524E addq.w A6, 1
000003C2 5641 addq.w D1, 3
000003C4 7000 moveq.l D0, 0x00
label000003C6:
000003C6 2F09 move.l -[A7], A1
label000003C8:
000003C8 31C0 0220 move.w [0x00000220 /* MemErr */], D0
000003CC 4E75 rts
000003CE 7000 moveq.l D0, 0x00
000003D0 60F6 bra -0x8 /* 000003C8 */
fn000003D2:
000003D2 225F movea.l A1, [A7]+
000003D4 201F move.l D0, [A7]+
000003D6 A122 syscall NewHandle, flags=1
000003D8 2E88 move.l [A7], A0
000003DA 4EFA FFEA jmp [PC - 0x16 /* 000003C6 */]
fn000003DE:
000003DE 4E56 FF86 link A6, -0x007A
000003E2 41EE FF86 lea.l A0, [A6 - 0x7A]
000003E6 216E 0010 0012 move.l [A0 + 0x12], [A6 + 0x10]
000003EC 316E 0014 0016 move.w [A0 + 0x16], [A6 + 0x14]
000003F2 4268 001C clr.w [A0 + 0x1C]
000003F6 A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
000003F8 3D40 0016 move.w [A6 + 0x16], D0
000003FC 226E 000C movea.l A1, [A6 + 0xC]
00000400 32A8 0016 move.w [A1], [A0 + 0x16]
00000404 2028 0030 move.l D0, [A0 + 0x30]
00000408 E080 asr D0, 8
0000040A E280 asr D0, 1
0000040C C0E8 003E mulu.w D0, [A0 + 0x3E]
00000410 E380 asl D0, 1
00000412 E180 asl D0, 8
00000414 226E 0008 movea.l A1, [A6 + 0x8]
00000418 2280 move.l [A1], D0
0000041A 4E5E unlink A6
0000041C 225F movea.l A1, [A7]+
0000041E DEFC 000E add.w A7, 0xE
00000422 4ED1 jmp [A1]
fn00000424:
00000424 4E56 FFC0 link A6, -0x0040
00000428 41EE FFC0 lea.l A0, [A6 - 0x40]
0000042C 216E 000C 0012 move.l [A0 + 0x12], [A6 + 0xC]
00000432 A014 syscall GetVol/PBHGetVol/HGetVol
00000434 3D40 0010 move.w [A6 + 0x10], D0
00000438 226E 0008 movea.l A1, [A6 + 0x8]
0000043C 32A8 0016 move.w [A1], [A0 + 0x16]
00000440 4E5E unlink A6
00000442 225F movea.l A1, [A7]+
00000444 508F addq.l A7, 8
00000446 4ED1 jmp [A1]
fn00000448:
00000448 4E56 FFC0 link A6, -0x0040
0000044C 41EE FFC0 lea.l A0, [A6 - 0x40]
00000450 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00000456 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
0000045C A015 syscall SetVol/PBHSetVol/HSetVol
0000045E 3D40 000E move.w [A6 + 0xE], D0
00000462 4E5E unlink A6
00000464 225F movea.l A1, [A7]+
00000466 5C8F addq.l A7, 6
00000468 4ED1 jmp [A1]
fn0000046A:
0000046A 206F 0004 movea.l A0, [A7 + 0x4]
0000046E 43E8 0001 lea.l A1, [A0 + 0x1]
00000472 7000 moveq.l D0, 0x00
label00000474:
00000474 1210 move.b D1, [A0]
00000476 10C0 move.b [A0]+, D0
00000478 1001 move.b D0, D1
0000047A 66F8 bne -0x6 /* 00000474 */
0000047C 91C9 sub.l A0, A1
0000047E 2008 move.l D0, A0
00000480 1300 move.b -[A1], D0
00000482 2009 move.l D0, A1
00000484 4E75 rts
00000486 206F 0004 movea.l A0, [A7 + 0x4]
0000048A 7000 moveq.l D0, 0x00
0000048C 1010 move.b D0, [A0]
0000048E 6004 bra +0x6 /* 00000494 */
label00000490:
00000490 10E8 0001 move.b [A0]+, [A0 + 0x1]
label00000494:
00000494 51C8 FFFA dbf D0, -0x8 /* 00000490 */
00000498 4210 clr.b [A0]
0000049A 202F 0004 move.l D0, [A7 + 0x4]
0000049E 4E75 rts
fn000004A0:
000004A0 4E56 FFF0 link A6, -0x0010
000004A4 48E7 0730 movem.l -[A7], D5,D6,D7,A2,A3
000004A8 266E 0008 movea.l A3, [A6 + 0x8]
000004AC 2E2E 000C move.l D7, [A6 + 0xC]
000004B0 3C2E 0010 move.w D6, [A6 + 0x10]
000004B4 7A00 moveq.l D5, 0x00
000004B6 244B movea.l A2, A3
000004B8 4A46 tst.w D6
000004BA 6E06 bgt +0x8 /* 000004C2 */
000004BC 7000 moveq.l D0, 0x00
000004BE 6000 008A bra +0x8C /* 0000054A */
label000004C2:
000004C2 4A87 tst.l D7
000004C4 6648 bne +0x4A /* 0000050E */
000004C6 3005 move.w D0, D5
000004C8 5245 addq.w D5, 1
000004CA 48C0 ext.l D0
000004CC D08E add.l D0, A6
000004CE 2040 movea.l A0, D0
000004D0 4228 FFF4 clr.b [A0 - 0xC]
000004D4 603C bra +0x3E /* 00000512 */
label000004D6:
000004D6 3005 move.w D0, D5
000004D8 5245 addq.w D5, 1
000004DA 48C0 ext.l D0
000004DC D08E add.l D0, A6
000004DE 4878 000A push.l 0xA /* '\n' */
000004E2 2F07 move.l -[A7], D7
000004E4 2D40 FFF0 move.l [A6 - 0x10], D0
000004E8 4EBA FB42 jsr [PC - 0x4BE /* 0000002C */]
000004EC 4878 000A push.l 0xA /* '\n' */
000004F0 2F00 move.l -[A7], D0
000004F2 4EBA FB34 jsr [PC - 0x4CC /* 00000028 */]
000004F6 2207 move.l D1, D7
000004F8 9280 sub.l D1, D0
000004FA 206E FFF0 movea.l A0, [A6 - 0x10]
000004FE 1141 FFF4 move.b [A0 - 0xC], D1
00000502 4878 000A push.l 0xA /* '\n' */
00000506 2F07 move.l -[A7], D7
00000508 4EBA FB22 jsr [PC - 0x4DE /* 0000002C */]
0000050C 2E00 move.l D7, D0
label0000050E:
0000050E 4A87 tst.l D7
00000510 66C4 bne -0x3A /* 000004D6 */
label00000512:
00000512 4A6E 0012 tst.w [A6 + 0x12]
00000516 6724 beq +0x26 /* 0000053C */
00000518 41D3 lea.l A0, [A3]
0000051A 528B addq.l A3, 1
0000051C 702D moveq.l D0, 0x2D
0000051E 1080 move.b [A0], D0
00000520 5346 subq.w D6, 1
00000522 6018 bra +0x1A /* 0000053C */
label00000524:
00000524 41D3 lea.l A0, [A3]
00000526 528B addq.l A3, 1
00000528 3245 movea.w A1, D5
0000052A D3CE add.l A1, A6
0000052C 1029 FFF3 move.b D0, [A1 - 0xD]
00000530 4880 ext.w D0
00000532 0640 0030 addi.w D0, 0x30 /* '0' */
00000536 1080 move.b [A0], D0
00000538 5345 subq.w D5, 1
0000053A 5346 subq.w D6, 1
label0000053C:
0000053C 4A45 tst.w D5
0000053E 6704 beq +0x6 /* 00000544 */
00000540 4A46 tst.w D6
00000542 66E0 bne -0x1E /* 00000524 */
label00000544:
00000544 4213 clr.b [A3]
00000546 200B move.l D0, A3
00000548 908A sub.l D0, A2
label0000054A:
0000054A 4CDF 0CE0 movem.l D5,D6,D7,A2,A3, [A7]+
0000054E 4E5E unlink A6
00000550 4E75 rts
00000552 5354 subq.w [A4], 1
00000554 4344 chk.w D1, D4
00000556 2020 move.l D0, -[A0]
00000558 2020 move.l D0, -[A0]
fn0000055A:
0000055A 4E56 0000 link A6, 0
0000055E 4AAE 000C tst.l [A6 + 0xC]
00000562 6D06 blt +0x8 /* 0000056A */
00000564 202E 000C move.l D0, [A6 + 0xC]
00000568 6006 bra +0x8 /* 00000570 */
label0000056A:
0000056A 202E 000C move.l D0, [A6 + 0xC]
0000056E 4480 neg.l D0
label00000570:
00000570 4AAE 000C tst.l [A6 + 0xC]
00000574 5DC1 slt D1
00000576 4401 neg.b D1
00000578 4881 ext.w D1
0000057A 3F01 move.w -[A7], D1
0000057C 3F2E 0010 move.w -[A7], [A6 + 0x10]
00000580 2F00 move.l -[A7], D0
00000582 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000586 4EBA FF18 jsr [PC - 0xE8 /* 000004A0 */]
0000058A 4FEF 000C lea.l A7, [A7 + 0xC]
0000058E 4E5E unlink A6
00000590 4E75 rts
00000592 5354 subq.w [A4], 1
00000594 434C chk.w D1, A4
00000596 4420 neg.b -[A0]
00000598 2020 move.l D0, -[A0]
fn0000059A:
0000059A 206F 0004 movea.l A0, [A7 + 0x4]
0000059E 226F 0008 movea.l A1, [A7 + 0x8]
000005A2 2008 move.l D0, A0
label000005A4:
000005A4 10D9 move.b [A0]+, [A1]+
000005A6 66FC bne -0x2 /* 000005A4 */
000005A8 4E75 rts
000005AA 206F 0004 movea.l A0, [A7 + 0x4]
000005AE 226F 0008 movea.l A1, [A7 + 0x8]
000005B2 2008 move.l D0, A0
label000005B4:
000005B4 4A18 tst.b [A0]+
000005B6 66FC bne -0x2 /* 000005B4 */
000005B8 5388 subq.l A0, 1
label000005BA:
000005BA 10D9 move.b [A0]+, [A1]+
000005BC 66FC bne -0x2 /* 000005BA */
000005BE 4E75 rts
fn000005C0:
000005C0 206F 0004 movea.l A0, [A7 + 0x4]
000005C4 226F 0008 movea.l A1, [A7 + 0x8]
000005C8 7000 moveq.l D0, 0x00
000005CA 6004 bra +0x6 /* 000005D0 */
label000005CC:
000005CC 4A01 tst.b D1
000005CE 670C beq +0xE /* 000005DC */
label000005D0:
000005D0 1218 move.b D1, [A0]+
000005D2 B219 cmp.b D1, [A1]+
000005D4 67F6 beq -0x8 /* 000005CC */
000005D6 6202 bhi +0x4 /* 000005DA */
000005D8 5580 subq.l D0, 2
label000005DA:
000005DA 5280 addq.l D0, 1
label000005DC:
000005DC 4E75 rts
000005DE 206F 0004 movea.l A0, [A7 + 0x4]
000005E2 322F 0008 move.w D1, [A7 + 0x8]
000005E6 7000 moveq.l D0, 0x00
000005E8 6004 bra +0x6 /* 000005EE */
label000005EA:
000005EA 4A18 tst.b [A0]+
000005EC 6706 beq +0x8 /* 000005F4 */
label000005EE:
000005EE B210 cmp.b D1, [A0]
000005F0 66F8 bne -0x6 /* 000005EA */
000005F2 2008 move.l D0, A0
label000005F4:
000005F4 4E75 rts
000005F6 206F 0004 movea.l A0, [A7 + 0x4]
000005FA 70FF moveq.l D0, 0xFFFFFFFF
label000005FC:
000005FC 5280 addq.l D0, 1
000005FE 1218 move.b D1, [A0]+
00000600 670C beq +0xE /* 0000060E */
00000602 226F 0008 movea.l A1, [A7 + 0x8]
label00000606:
00000606 1419 move.b D2, [A1]+
00000608 67F2 beq -0xC /* 000005FC */
0000060A B401 cmp.b D2, D1
0000060C 66F8 bne -0x6 /* 00000606 */
label0000060E:
0000060E 4E75 rts
00000610 206F 0004 movea.l A0, [A7 + 0x4]
00000614 7000 moveq.l D0, 0x00
label00000616:
00000616 1218 move.b D1, [A0]+
00000618 6710 beq +0x12 /* 0000062A */
0000061A 226F 0008 movea.l A1, [A7 + 0x8]
label0000061E:
0000061E 1419 move.b D2, [A1]+
00000620 67F4 beq -0xA /* 00000616 */
00000622 B401 cmp.b D2, D1
00000624 66F8 bne -0x6 /* 0000061E */
00000626 5388 subq.l A0, 1
00000628 2008 move.l D0, A0
label0000062A:
0000062A 4E75 rts
0000062C 206F 0004 movea.l A0, [A7 + 0x4]
00000630 322F 0008 move.w D1, [A7 + 0x8]
00000634 7000 moveq.l D0, 0x00
label00000636:
00000636 B210 cmp.b D1, [A0]
00000638 6602 bne +0x4 /* 0000063C */
0000063A 2008 move.l D0, A0
label0000063C:
0000063C 4A18 tst.b [A0]+
0000063E 66F6 bne -0x8 /* 00000636 */
00000640 4E75 rts
00000642 206F 0004 movea.l A0, [A7 + 0x4]
00000646 7000 moveq.l D0, 0x00
00000648 6006 bra +0x8 /* 00000650 */
label0000064A:
0000064A B401 cmp.b D2, D1
0000064C 660A bne +0xC /* 00000658 */
0000064E 5280 addq.l D0, 1
label00000650:
00000650 1218 move.b D1, [A0]+
00000652 6708 beq +0xA /* 0000065C */
00000654 226F 0008 movea.l A1, [A7 + 0x8]
label00000658:
00000658 1419 move.b D2, [A1]+
0000065A 66EE bne -0x10 /* 0000064A */
label0000065C:
0000065C 4E75 rts
0000065E 202F 0004 move.l D0, [A7 + 0x4]
00000662 6006 bra +0x8 /* 0000066A */
label00000664:
00000664 B401 cmp.b D2, D1
00000666 6708 beq +0xA /* 00000670 */
00000668 5280 addq.l D0, 1
label0000066A:
0000066A 2040 movea.l A0, D0
0000066C 226F 0008 movea.l A1, [A7 + 0x8]
label00000670:
00000670 1219 move.b D1, [A1]+
00000672 6706 beq +0x8 /* 0000067A */
00000674 1418 move.b D2, [A0]+
00000676 66EC bne -0x12 /* 00000664 */
00000678 7000 moveq.l D0, 0x00
label0000067A:
0000067A 4E75 rts
0000067C 202F 0004 move.l D0, [A7 + 0x4]
00000680 6606 bne +0x8 /* 00000688 */
label00000682:
00000682 202C 073A move.l D0, [A4 + 0x73A]
00000686 6730 beq +0x32 /* 000006B8 */
label00000688:
00000688 42AC 073A clr.l [A4 + 0x73A]
0000068C 2040 movea.l A0, D0
0000068E 6006 bra +0x8 /* 00000696 */
label00000690:
00000690 B401 cmp.b D2, D1
00000692 660A bne +0xC /* 0000069E */
00000694 2008 move.l D0, A0
label00000696:
00000696 1218 move.b D1, [A0]+
00000698 67E8 beq -0x16 /* 00000682 */
0000069A 226F 0008 movea.l A1, [A7 + 0x8]
label0000069E:
0000069E 1419 move.b D2, [A1]+
000006A0 66EE bne -0x10 /* 00000690 */
label000006A2:
000006A2 1218 move.b D1, [A0]+
000006A4 6712 beq +0x14 /* 000006B8 */
000006A6 226F 0008 movea.l A1, [A7 + 0x8]
label000006AA:
000006AA 1419 move.b D2, [A1]+
000006AC 67F4 beq -0xA /* 000006A2 */
000006AE B401 cmp.b D2, D1
000006B0 66F8 bne -0x6 /* 000006AA */
000006B2 2948 073A move.l [A4 + 0x73A], A0
000006B6 4220 clr.b -[A0]
label000006B8:
000006B8 4E75 rts
fn000006BA:
000006BA 70FF moveq.l D0, 0xFFFFFFFF
000006BC 206F 0004 movea.l A0, [A7 + 0x4]
label000006C0:
000006C0 5280 addq.l D0, 1
000006C2 4A18 tst.b [A0]+
000006C4 66FA bne -0x4 /* 000006C0 */
000006C6 4E75 rts
000006C8 2100 move.l -[A0], D0
000006CA 4879 7065 724B push.l 0x7065724B /* 'perK' */
000006D0 5253 addq.w [A3], 1
000006D2 2056 movea.l A0, [A6]
000006D4 6572 bcs +0x74 /* 00000748 */
000006D6 7369 moveq.l D1, 0x69
000006D8 6F6E ble +0x70 /* 00000748 */
000006DA 2032 2E30 move.l D0, [A2 + D2 * 8 + 0x30]
000006DE 2C20 move.l D6, -[A0]
000006E0 A920 syscall BringToFront
000006E2 4B6E 6F77 chk.w D5, [A6 + 0x6F77]
000006E6 6C65 bge +0x67 /* 0000074D */
000006E8 6467 bcc +0x69 /* 00000751 */
000006EA 6553 bcs +0x55 /* 0000073F */
000006EC 6574 bcs +0x76 /* 00000762 */
000006EE 2043 movea.l A0, D3
000006F0 6F72 ble +0x74 /* 00000764 */
000006F2 702E moveq.l D0, 0x2E
000006F4 2031 3938 392C 3139 move.l D0, [A1 + 0x392C3139 + D3]
000006FC 3930 0000 move.w -[A4], [A0 + D0.w]
00000700 3F00 move.w -[A7], D0
00000702 6B72 bmi +0x74 /* 00000776 */
00000704 7344 moveq.l D1, 0x44
00000706 6973 bvs +0x75 /* 0000077B */
00000708 6B53 bmi +0x55 /* 0000075D */
0000070A 7061 moveq.l D0, 0x61
0000070C 6365 bls +0x67 /* 00000773 */
0000070E 2028 766F move.l D0, [A0 + 0x766F]
00000712 6C75 bge +0x77 /* 00000789 */
00000714 6D65 blt +0x67 /* 0000077B */
00000716 2900 move.l -[A4], D0
00000718 2D31 0D49 move.l -[A6], [[A1 + <<invalid base displacement size>>]]
0000071C 6E63 bgt +0x65 /* 00000781 */
0000071E 6F72 ble +0x74 /* 00000792 */
00000720 7265 moveq.l D1, 0x65
00000722 6374 bls +0x76 /* 00000798 */
00000724 206E 756D movea.l A0, [A6 + 0x756D]
00000728 6265 bhi +0x67 /* 0000078F */
0000072A 7220 moveq.l D1, 0x20
0000072C 6F66 ble +0x68 /* 00000794 */
0000072E 2070 6172 616D 6574 6572 movea.l A0, [[A0 + 0x616D6574] + 0x6572]
00000738 7300 moveq.l D1, 0x00
0000073A 0000 0000 ori.b D0, 0x0